DOORS 9.6.1.9 / Checksum Calculation

Hi there,

in DOORS 9.6.1.9 there is this neat new feature to calculate checksums on modules and all objects/attributes within them.

In DOORS Explorer right click on a module and use calculate checksums and you will get an XML like

<?xml version="1.0" encoding="utf-8" ?>
<ViewChecksum version="1.0">
 <View>
  <Name>Test</Name>
  <Description></Description>
  <Objects>
   <Object id="1">
    <AttrChecksum name="ID">03f281f1cc4ff2a6d5c231a1ff6bd05cd9f7c0ea</AttrChecksum>
    <AttrChecksum name="EntryType">1870adb511484ecb832a53c881783234dbba9f</AttrChecksum>
    <AttrChecksum name="Main Column">71c02879b580b5e0513362afa9aa504377c28d99</AttrChecksum>
    <AttrChecksum name="Comment">d948344ffafc673bab31e96db18361f9a1dcd</AttrChecksum>

...

 

The Checksums marked in red are looking like SHA or something similar, but sometimes they are a lot shorter, e.g.

<AttrChecksum name="View">f39355578464f846378c</AttrChecksum>

thus I suppose there is more behind it than simple SHA.

 

The first question now is:

How are these caluclated? What about OLE/pictures/... what about special characters...?

We would like to caluclate the same checksums e.g. in VBA on a generated Word-File (integrity check that all is exported correctly).

I hope IBM could share the algorithm...

 

The second question is:

there are some new DXL commands documented in https://www.ibm.com/support/knowledgecenter/SSYQBZ_9.6.1/com.ibm.doors.requirements.doc/topics/dxl_reference_manual.pdf (createChecksumFile, loadChecksumFile, compareChecksumFile) which all aim at the whole module/view.

Are there some (undocumented) functions to calculate checksums on only a single object/part of an object? Ideally something like:

Buffer calculateChecksum(Buffer& inhalt)

 

Any ideas apprecicated!

Greeting, Peter


ibmrpe - Thu Aug 24 05:14:50 EDT 2017

Re: DOORS 9.6.1.9 / Checksum Calculation
DOORSWizard - Thu Aug 24 13:15:24 EDT 2017

How do you know what's new in the dxl_reference_manual you have referenced? In the older versions it was clearly spelled out in the what's new sections now I have been unable to find a good way to tell what is new, can you share how you determined these are new functions for 9.6.1.9?

Re: DOORS 9.6.1.9 / Checksum Calculation
ibmrpe - Fri Aug 25 02:49:52 EDT 2017

DOORSWizard - Thu Aug 24 13:15:24 EDT 2017

How do you know what's new in the dxl_reference_manual you have referenced? In the older versions it was clearly spelled out in the what's new sections now I have been unable to find a good way to tell what is new, can you share how you determined these are new functions for 9.6.1.9?

Hi Alex,

you got me there :-)

Actually we switched from 9.6.0.0. to 9.6.1.9, thus this is the first version where I see this new feature.
You are right, the What's New section (here: p.31 ff.) only shows that it is new in 9.6.1

I don't know in which 9.6.1.X version it was introduced, sorry.

Viele Gruesse, Peter